/**
 *
 */

package com.moogene.saad.sns;

import com.moogene.android.InfoMediator;
import com.moogene.android.R;

import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 28850924
 *
 */
public class Friend {
    private String displayName;

    private String sex;

    private Bitmap gravator;

    private String mobile;

    private String email;

    private List<String> status = new ArrayList<String>();

    /**
     * @param displayName
     * @param sex
     * @param name
     * @param status
     */
    public Friend(String displayName, String sex, String mobile, String email, Bitmap gravator) {
        super();
        this.displayName = displayName;
        this.sex = sex;
        this.mobile  = mobile;
        this.email = email;
        if (gravator == null) {
            gravator = InfoMediator.getBitmap(R.drawable.android);
        } else {
            this.gravator = gravator;
        }
    }

    /**
     * @return the displayName
     */
    public String getDisplayName() {
        return displayName;
    }

    /**
     * @return the sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * @return the status
     */
    public List<String> getStatus() {
        return status;
    }

    public String getLastStatus() {
        return "I love you, however, it is a fake status.";
    }

    /**
     * @return the gravator
     */
    public Bitmap getGravator() {
        return gravator;
    }

    /**
     * @return the mobile
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * @param mobile the mobile to set
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

}
